package com.msh.artascope.devcloud.service.service;

import com.msh.artascope.devcloud.service.model.page.ModuleHealthTestVo;
import com.msh.artascope.devcloud.service.model.query.HealthTestQueryVo;
import com.msh.artascope.devcloud.service.model.vo.HealthTestVo;
import com.msh.artascope.devcloud.client.po.HealthTestPo;
import com.msh.artascope.devcloud.client.qo.HealthTestQo;
import com.msh.frame.client.base.TenantBaseService;
import com.msh.frame.client.common.Result;
import java.util.List;

/**
 * @author shihu
 * @mail m-sh@qq.com
 */
public interface HealthTestService extends TenantBaseService<HealthTestPo,HealthTestQo> {

  long insertVo(HealthTestVo healthTestVo);

  void updateVo(HealthTestVo healthTestVo);

  ModuleHealthTestVo moduleHealthTest(Long moduleId, Long tenantId);

// ----------前端vo处理-------------------------------------------------------
  /**
   * id查询
   * @param id 主键id
   * @return  查询Vo列表
   */
  HealthTestVo getVo(Long id, Long tenantId);

  /**
   * 查询
   * @param q 查询QueryVo
   * @return  查询Vo列表
   */
  List<HealthTestVo> listVo(HealthTestQueryVo q);

  /**
   * 分页查询
   * @param q 查询QueryVo
   * @return  分页查询Po列表
   */
  Result<List<HealthTestVo>> pageVo(HealthTestQueryVo q);


}
